package com.example.auth.mapper;

import com.example.auth.entity.SysRole;
import com.example.auth.entity.dto.SysRoleCreateDTO;
import com.example.auth.entity.dto.SysRoleEditDTO;
import com.example.auth.entity.vo.SysRoleQueryVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;


@Mapper
public interface ISysRoleMapper {

    ISysRoleMapper INSTANCT = Mappers.getMapper(ISysRoleMapper.class);

    SysRoleQueryVO sysRoleToSysRoleQueryVO(SysRole sysRole);

    SysRole sysRoleCreateDTOToSysRole(SysRoleCreateDTO sysRoleCreateDTO);

    SysRole sysRoleEditDTOToSysRole(SysRoleEditDTO sysRoleEditDTO);


}
